package com.cloudm.technician.ui.modules.cloudm_box.change_box

import com.cloudm.technician.data.model.DeviceInfo
import com.cloudm.technician.ui.base.BaseListView
import com.cloudm.technician.ui.base.BasePresenter

/**
 * 作者: wesley
 * 时间: 2017/12/18
 * 描述: 更换盒子协议接口
 */
interface ChangeBoxContract {

    interface View : BaseListView<ArrayList<DeviceInfo>> {

        fun deleteSuccess()

        fun deleteFailure(errorMsg: String)

        fun showSnEmpMsg()

        fun showSnFormatErrMsg()

        fun openCloudmDeviceDetailActivity(sn: String)
    }

    interface Presenter : BasePresenter {

        fun getChangeBoxListInfo(page: Int, size: Int, status: Int)


        fun deleteDevice(recordId: String?)


        fun dealWithScanResult(sn: String?)
    }
}